Test Adequacy Assessment for UML Design Model Testing
نویسندگان
چکیده
Systematic design testing, in which executable models of behaviors are tested using inputs that exercise scenarios, can help reveal flaws in designs before they are implemented in code. We present a testing method in which executable forms of the Unified Modeling Language (UML) models are tested. The method incorporates the use of test adequacy criteria based on UML model elements in class diagrams and interaction diagrams. Class diagram criteria are used to determine the object configurations on which tests are run, while interaction diagram criteria are used to determine the sequences of messages that should be tested. The criteria can be used to define test objectives for UML designs. In this paper, we describe and illustrate the use of the proposed test method and adequacy criteria.
منابع مشابه
Test adequacy criteria for UML design models
Systematic design testing, in which executable models of behaviours are tested using inputs that exercise scenarios, can help reveal flaws in designs before they are implemented in code. In this paper a technique for testing executable forms of UML (Unified Modelling Language) models is described and test adequacy criteria based on UML model elements are proposed. The criteria can be used to de...
متن کاملFault Detection Effectiveness of UML Design Model Test Adequacy Criteria
UML models are widely used by software developers to model complex software systems. Testing the models can reveal flaws in the early stages of software development. Criteria based on UML class diagrams and interaction diagrams were proposed earlier to specify UML model elements that need to be covered during testing. This paper describes a case study that evaluated the fault detection effectiv...
متن کاملTest Case Generation from UML Models
Software Testing is one of the important phases in the software development life cycle. The cost of software testing is approximately 50% of the total development cost. In order to test software in an effective and an efficient manner, the test case should be generated systematically. Unified Modeling Language (UML) is the current industrial standard used to assist software development. It is w...
متن کاملRigorous Testing by Merging Structural and Behavioral UML Representations
Error detection and correction in the design phase can reduce total costs and time to market. Yet, testing of design models usually consists of walk-throughs and inspections both of which lack the rigor of systematic testing. Test adequacy criteria for UML models help define necessary objectives during the process of test creation. These test criteria require coverage of various parts of UML mo...
متن کاملUML Activity Diagram-Based Automatic Test Case Generation For Java Programs
Test case generation based on design specifications is an important part of testing processes. In this paper, Unified Modeling Language activity diagrams are used as design specifications. By setting up several test adequacy criteria with respect to activity diagrams, an automatic approach is presented to generate test cases for Java programs. Instead of directly deriving test cases from activi...
متن کامل